<?php
$this->breadcrumbs = array(
    'Refs' => array('index'),
    $model->ref_id,
);

$this->menu = array(
    array('label' => 'List Ref', 'url' => array('index')),
    array('label' => 'Create Ref', 'url' => array('create')),
    array('label' => 'Update Ref', 'url' => array('update', 'id' => $model->ref_id)),
    array('label' => 'Delete Ref', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->ref_id), 'confirm' => 'Are you sure you want to delete this item?')),
    array('label' => 'Manage Ref', 'url' => array('admin')),
);

$imagePath = Yii::app()->request->baseUrl.$model->ref_image_path;
?>


<table width="940" border="0" align="center" cellspacing="0" cellpadding="0" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/news.png) left top no-repeat;">
    <tr>
        <td style="height:100px;">&nbsp;</td>
    </tr>
    <tr>
        <td width="710" align="center" valign="top"><table id="Table_01" width="700" height="255" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                </tr>
                <tr >
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;" width="31">&nbsp;</td>
                    <td align="center" valign="middle" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;">
                        <img src="<? echo $imagePath; ?>"/>
                        <br />
                    </td>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                </tr>
                <tr>
                    <td  width="31" height="33" ><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" /></td>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33"></td>
                    <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                </tr>
            </table>

        </td>
    </tr>
    <tr>
        <td valign="top"><table id="Table_2" width="100%" height="121" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                </tr>
                <tr >
                    <td width="31" height="55" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;">&nbsp;</td>
                    <td align="center" valign="top" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;">
                        <div><b><? echo $model->ref_name; ?></b></div><br />
                        <div>
                            <? echo $model->ref_detail; ?></td>
                        </div>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                </tr>
                <tr>
                    <td  width="31" height="33" ><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" /></td>
                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33"></td>
                    <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                </tr>
            </table></td>
    </tr>
</table>

<!--<h1>View Ref #<?php echo $model->ref_id; ?></h1>

<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'ref_id',
        'brand_id',
        'ref_name',
        'ref_image_path',
        'ref_detail',
        'created_by',
        'created_date',
        'updated_by',
        'updated_date',
    ),
));
?>-->
